package cn.edu.swu.service;


import cn.edu.swu.dto.DormitoryAdminDto;
import cn.edu.swu.entity.DormitoryAdmin;

import java.util.List;

public interface DormitoryAdminService {
    List<DormitoryAdmin> list();
    List<DormitoryAdmin> search(String key, String value);
    void save(DormitoryAdmin dormitoryAdmin);
    void update(DormitoryAdmin dormitoryAdmin);
    void delete(Integer id);
    DormitoryAdminDto login(String username, String password);
}
